package com.xs.action.exection;


import lombok.Getter;

@Getter
public class ActionException extends RuntimeException{
    private int code = 500000;

    public ActionException(String message) {
        super(message);
    }

    public ActionException(int code,String message) {
        super(message);
        this.code += code;
    }

    @Override
    public String getMessage() {
        return super.getMessage();
    }
}
